package com.week.tiny_video.service;

import com.week.tiny_video.pojo.Category;
import com.week.tiny_video.pojo.User;
import com.week.tiny_video.pojo.Video;

import java.util.List;

public interface VideoService {
    public void add(Video video);

    public void update(Video video);

    public List<Video> findListByCategory(int cid);

    public List<Video> findListByUser(int uid);

    public Video get(int id);

    public void delete(int id);

    public List<Video> listByStatus(int status);

    public List<Video> listByUserAndStatus(int uid,int status);
}
